package com.jfm.jfmm.collector.entity.collect;

import com.jfm.jfmm.collector.enums.ResultType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author DYang
 * @since 2024-10-09 22:15
 * 检测结果
 */
@Data
public class CheckResult {

    /**
     * 结果类型
     */
    private ResultType resultType;

    /**
     * 描述
     */
    private String msg;

    public CheckResult() {
    }

    public CheckResult(ResultType resultType) {
        this.resultType = resultType;
    }

    public CheckResult(ResultType resultType, String msg) {
        this.resultType = resultType;
        this.msg = msg;
    }
}
